package com.example.easypoi.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.easypoi.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {
    @Select("select * from user")
    List<User> getList(@Param("name") String name, @Param("page") Integer page, @Param("limit") Integer limit);
}
